<!doctype html>
<meta charset="utf-8">
<title>Negative margins in a table with middle alignment</title>
<link rel="match" href="table_vertical_align_margin_padding_ref.html">
<style>table,tr,td{margin:0;padding:0;vertical-align:middle}</style>
<h1>Test passes if there is a single green box</h1>
<table><tr><td style="background:red">
<div style="margin:-40px;padding:40px"><div style="background:green;width:40px;height:40px"></div></div>
</td></tr></table>
